<!DOCTYPE html>
<html>
<meta charset="utf-8">
<head th:include="include :: header"></head>
<body class="gray-bg">
<div class="wrapper wrapper-content ">
    <div class="col-sm-12">
        <div class="ibox">
            <div class="ibox-body">
                <div class="fixed-table-toolbar">
                    <div class="form-inline col-sm-12" style="padding-left: 0;margin-top: 10px;margin-bottom: 10px;">
                        <div class="form-group">
                            <div class="col-sm-8">
                                <input id="deptId" name="deptId" class="hidden">
                                <input id="deptName" name="deptName"
                                       class="form-control" type="text" style="cursor: pointer;"
                                       onclick="openDept()" readonly="readonly" placeholder="选择科室">
                            </div>
                        </div>

                        <div class="form-group">
                            <label class="sr-only" for="searchName">医生姓名</label>
                            <input type="text" class="form-control" id="searchName" placeholder="医生姓名">
                        </div>

                        <div class="form-group">
                            <button class="btn btn-success" onclick="reLoad()">查询</button>
                            <button class="btn btn-warning" onclick="reSet()">重置</button>
                        </div>
                    </div>

                </div>
                <table id="exampleTable" data-mobile-responsive="true">
                </table>
            </div>
        </div>
    </div>
</div>
<!--shiro控制bootstraptable行内按钮看见性 来自yyyyglxt的创新方案 -->
<div>
    <script type="text/javascript">
        var s_edit_h = 'hidden';
        var s_remove_h = 'hidden';
        var s_resetPwd_h = 'hidden';
    </script>
</div>
<div shiro:hasPermission="system:user:edit">
    <script type="text/javascript">
        s_edit_h = '';
    </script>
</div>
<div shiro:hasPermission="system:user:remove">
    <script type="text/javascript">
        var s_remove_h = '';
    </script>
</div>
<div shiro:hasPermission="system:user:resetPwd">
    <script type="text/javascript">
        var s_resetPwd_h = '';
    </script>
</div>
</div>
<div th:include="include :: footer"></div>
<script type="text/javascript" src="/js/appjs/yygl/workdayPage/user.js"></script>
</body>
</html>